package net.neptech.service;

import net.neptech.model.sys.Position;
import net.neptech.page.PageQuery;
import net.neptech.page.TableDataInfo;
import net.neptech.vo.PositionVo;

import java.util.List;

public interface PositionService {
    List<Position> selectPositionAll();

    List<Long> selectPositionListByUserId(Long staffId);

    TableDataInfo<PositionVo> selectPositionListPage(Position position, PageQuery pageQuery);

    void insertPosition(Position position);

    void deletePositionById(Long positionId);

    void deletePositionByIds(Long... positionIds);

    PositionVo getPositionById(Long positionId);

    void updatePosition(Position position);
}
